<!DOCTYPE html>
<html lang="en" dir="ltr">
    <head>
        <meta charset="utf-8">
        <title>条形码生成器</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <style media="screen">
            svg,canvas,img{
                display: block;
                margin-bottom:100px;
            }
        </style>
    </head>
    <body>
        <div class="">
            <ul>
                <li> <a href="index.html">二维码生成器</a> </li>
            </ul>
        </div>
        <div class="box" style="padding:50px;">
            <svg id="svgcode"></svg>
            <!-- or -->
            <canvas id="canvascode"></canvas>
            <!-- or -->
            <img id="imgcode"/>
            <img id="test"/>
        </div>
    </body>
    <script type="text/javascript" src="//mirror.fe80.cn/jquery/3.6.1/jquery.min.js"></script>
    <script type="text/javascript" src="JsBarcode.all.min.js"></script>
    <script type="text/javascript" src="wii.js"></script>
    <script>
        $("#svgcode").JsBarcode(wii.qrcodeMaker());//or JsBarcode("#svgcode", "Hi!");
        $("#canvascode").JsBarcode(wii.qrcodeMaker());//or JsBarcode("#canvascode", "Hello world!");
        JsBarcode("#imgcode", wii.qrcodeMaker());//or $("#imgcode").JsBarcode("I'm huangenai!");
    </script>
</html>
